home *** CD-ROM | disk | FTP | other *** search
/ Aminet 3 / Aminet 3 - July 1994.iso / Aminet / util / cli / ADoc2_v400.lha / ADoc / ADocEnglish.doc < prev    next >
Encoding:
Text File  |  1994-05-14  |  25.4 KB  |  576 lines

  1.  
  2.  
  3.                   ADoc - User's Manual
  4.  
  5.  
  6.  
  7.  
  8.  
  9. AboutThisDoc
  10.    
  11.       This manual describes release 4.00 of the utility ADoc. This program
  12.   is (c)1990-1994 by Denis GOUNELLE, any commercial usage or  selling  without
  13.   author's written authorization is  strictly  forbidden.  You  can  copy  and
  14.   spread this program under the following conditions:
  15.  
  16.     - all the files are provided
  17.     - the files are not modified in any way
  18.     - you don't charge more than $6 for copy fee
  19.    
  20.       In spite of several tests, no warranty is made  that  there  are  no
  21.   errors in ADoc. YOU USE THIS PROGRAM AT YOUR OWN RISK. In no event will I be
  22.   liable for any damage, direct or indirect, resulting of the use of ADoc.
  23.    
  24.   AREXX is (c)1987 by William Hawes.
  25.   PowerPacker 2.3b is (c)1989 by PowerPeak and Nico FRANCOIS
  26.   PowerPacker Pro 3.0b is (c)1990 by PowerPeak and UGA Software
  27.   The "powerpacker.library" library is (c)1990 by Nico FRANCOIS
  28.   The "reqtools.library" library is (c)1990 by Nico FRANCOIS
  29.    
  30.              >>> CLOSE THIS WINDOW TO CONTINUE <<<
  31.    
  32. Foreword
  33.    
  34.       ADoc2 is a new release of ADoc, fully rewritten in order  to  remove
  35.   some limitations and add several improvements. Note  some  incompatibilities
  36.   arose particularly at argument level. This program works equally  under  1.3
  37.   and 2.0 system releases. 
  38.       ADoc  is  an  utility  that  allows  you  to  manage  all  kinds  of
  39.   documentations on any subject. It is able to automatically  start  searching
  40.   for a word selected by a mouse click, and to work on  several  documentation
  41.   files at the same  time.  ADoc  can  also  use  straight  the  AutoDocs  and
  42.   AmigaGuide files, as well as "PowerPacker" compressed files.
  43.  
  44.       Criticisms and suggestions will always be welcomed. Write to:
  45.  
  46.                    M. GOUNELLE Denis
  47.                   27, rue Jules GUESDE
  48.                 45400 FLEURY-LES-AUBRAIS
  49.                      FRANCE
  50.    
  51.       You can also send a message to  the  following  Internet  address  :
  52.   "gounelle@alphanet.ch". Note that this mailbox is not mine, so  please  send
  53.   only short messages. As I don't have direct access to  the  messages,  don't
  54.   expect an answer before a dozen of days.
  55.    
  56.       Thanks to Jean-Yves PROUX and Helmut J. ESENWEIN for their  numerous
  57.   suggestions, to Reza ELGHAZI for his help concerning AmigaGuide  files,  and
  58.   to Simon HEWINSON who translated in English the  "amiga.doc"  file.  Special
  59.   thanks to Jean-Philippe RAPP for his ideas and his help concerning  AutoDocs
  60.   files.
  61.  
  62. Installation
  63.    
  64.       ADoc needs "reqtools.library" (version 2.0c or higher) to  run.  You
  65.   must copy this file in your "LIBS:" directory, if not yet done. 
  66.       ADoc is now localized, so it  can  adapt  itself  to  your  favorite
  67.   language. All you have to do is to copy  the  good  catalog  file  into  the
  68.   directory corresponding to your  language.  For  exemple,  if  your  default
  69.   language   is    french,    copy    the    "français.catalog"    into    the
  70.   "SYS:Locale/Catalogs/Français" directory, under the name "ADoc.catalog."
  71.    
  72.       The german catalog was translated by Stefan SALEWSKI.
  73.  
  74. HowDoesItWork
  75.    
  76.       ADoc works on documentation files, combined with a keyword (this one
  77.   is named "term" in this doc). Every doc file has an index file  that  allows
  78.   to access the wanted terms nearly immediately. (Note :  as  a  result,  each
  79.   time you change a doc file, you'll have to rebuild  its  index  file.)  When
  80.   ADoc is running, only is loaded in memory the index file. The name  of  this
  81.   index file will be the doc file name plus an ".index" suffix.
  82.  
  83.       You can create your doc files with your favourite text editor; these
  84.   files consist of a series of definitions and each definition has a syntax as
  85.   follows :
  86.  
  87.           term
  88.               text line 1
  89.               text line 2
  90.                
  91.               etc...
  92.                
  93.               text line n
  94.    
  95.       At first, consider that the first two lines of a doc file have to be
  96.   empty (or in extreme circumstancies begin with a space or a tab  character).
  97.   The first character of each term must be at column 1 and the text lines must
  98.   begin with a space or a tab character. Empty lines are allowed.
  99.  
  100.       One term can't be more than 32 character long and can't contain  any
  101.   blanks or tabs : valid  characters  are  upper  or  lower  letters,  digits,
  102.   underline, and accented letters (ASCII codes between 217 and 246).  However,
  103.   if needed, you can extend this character set (see below AdvancedConcepts). 
  104.       The term amount for each file as well as the text  line  amount  for
  105.   each term are unlimited (or rather, this limit is so large  that  you'll  be
  106.   short in memory long before).
  107.  
  108.       A text line can't be more than 256 characters. In order to bring out
  109.   some parts of your text, you can use the following ANSI sequences :
  110.  
  111.           ESC[1m  boldface on
  112.           ESC[3m  italics on
  113.           ESC[4m  underline on
  114.           ESC[22m boldface off
  115.           ESC[23m italics off
  116.           ESC[24m underline off
  117.           ESC[0m  normal character set
  118.    
  119. RunningADocfromCLI
  120.    
  121.   ADoc can be run from Workbench or from the CLI. By default, the doc file  is
  122.   "Amiga.doc", but,  of  course,  in  both  cases,  you  can  specify  another
  123.   filename. From the CLI, you can specify the following arguments :
  124.  
  125.   WBENCH 
  126.       Asks ADoc to use the Workbench screen. When this argument is missed out,
  127.       ADoc will open its own screen sized as the Workbench screen.  On  error,
  128.       when opening screen, ADoc will go automatically to the Workbench screen.
  129.        
  130.   LACE 
  131.       Asks ADoc to use an interlaced screen. If you asked to use the Workbench
  132.       screen, and this one is not in interlaced mode, this  argument  will  be
  133.       ignored.
  134.  
  135.   DEPTH n 
  136.       Asks ADoc to use a n-planes screen (allowing 2^n colors). If  you  asked
  137.       to use the Workbench screen, this argument will be ignored.
  138.  
  139.   FONT name 
  140.       Asks ADoc to use a given font rather than the  default  one.  Name  must
  141.       take the form <FontName><SizeY>, for ex. "topaz8". ADoc is able  to  use
  142.       any non proportional font so long as its size is 8 at least. 
  143.       If ADoc can't open the requested  font,  it  will  attempt  to  use  the
  144.       default one. If this font doesn't suit or ADoc can't open  it,  it  will
  145.       try to access the topaz8 font. If it fails, ADoc will end immediately.
  146.  
  147.   MAKEIDX 
  148.       Tells ADoc the only operation to do is to create the index files.
  149.  
  150.   QUICK 
  151.       Asks ADoc not to display a text combined  to  the  "AboutThisDoc"  term,
  152.       when starting. Usually, each time ADoc opens a file, it  looks  for  the
  153.       "AboutThisDoc" term in this file, and then, if this one exists, displays
  154.       the corresponding text and waits for user to  close  the  window  before
  155.       continuing.
  156.  
  157.   AREXX 
  158.       Asks ADoc to go in AREXX mode. More information on how to use ADoc  with
  159.       AREXX in TheAREXXMode section below.
  160.  
  161.   ONEWINDOW 
  162.       Asks ADoc to open only one window at a time.
  163.  
  164.   NOCASE 
  165.       Asks  ADoc  not  to  differentiate  lower  and  upper  characters   when
  166.       processing files. This only will concern files whose name is given after
  167.       this option.
  168.  
  169.   NOSORT 
  170.       Asks ADoc not to sort the indexes of files whose name is specified after
  171.       this option.
  172.  
  173.   TABSIZE n 
  174.       Tells the tab size for the files whose  name  is  specified  after  this
  175.       option. Default size is 8. 
  176.    
  177.   Any other argument will be considered as a doc file name to be used. You can
  178.   specify several files, by separating their names by spaces  or  commas  (for
  179.   ex. "ADoc file1 file2" or "ADoc file1,file2"). You can mix  file  names  and
  180.   options but let us remember that NOCASE, NOSORT, and  TABSIZE  options  only
  181.   concern files you specified after these options. ADoc will open these  files
  182.   in this given order. Unless you indicate one full path, firstly  files  will
  183.   be looked for in the current directory, then in  the  "ADOC:"  one.  If  you
  184.   specify a directory name instead of file name, ADoc will open all the  files
  185.   in this directory (apart from ".info" and ".index" files).
  186.  
  187. RunningADocFromWorkbench
  188.    
  189.   From Workbench, you can inwoke ADoc in several ways :
  190.  
  191.     - by  double-clicking  on  its  icon  (then  ADoc  will  use  the  default
  192.       documentation file) 
  193.     - by double-clicking on one file icon having ADoc as default  tool  (field
  194.       "DEFAULT TOOL") 
  195.     - by clicking on icons of several files, holding down the SHIFT  key,  and
  196.       double-clicking on the ADoc icon. 
  197.    
  198.   In all these cases, ADoc starts by looking into "TOOL TYPES"  field  of  the
  199.   program icon; this one may contain :
  200.  
  201.       FONT=name 
  202.       DEPTH=n 
  203.       OPTIONS=[WBENCH][LACE][MAKEIDX][QUICK][AREXX][ONEWINDOW]
  204.  
  205.   For more information on these options, see the  RunningADocfromCLI  section.
  206.   Note option names must be separated by a "|" sign.  After  that,  ADoc  will
  207.   open the doc files you specified; it will open them  as  it  does  from  CLI
  208.   except it examines the "TOOL TYPES" field  of  each  icon.  This  field  may
  209.   contain :
  210.  
  211.       TABSIZE=n 
  212.       OPTIONS=[NOCASE][NOSORT]
  213.  
  214.   For  more  information  about  these  options,  see  the  RunningADocfromCLI
  215.   section. Note these three options only will concern the  file  corresponding
  216.   to the icon.
  217.  
  218. StartingADoc
  219.    
  220.       As I explained above, ADoc starts by opening some specified file(s).
  221.   At this time, ADoc attempts as well to open the index file corresponding  to
  222.   each doc file. If you didn't specified any file to open, ADoc will  look  if
  223.   the "ADocFile" variable is defined : if so, it's value is  used  as  a  file
  224.   name. Otherwise, the default file  name  is  "Amiga.doc".  You  can  specify
  225.   several file names is the "ADocFile" variable, just  as  from  command  line
  226.   (for example: setenv ADocFile "exec.doc dos.doc"). 
  227.       If ADoc can't find the index file, it will offer to  create  it.  If
  228.   you refuse, this doc file will not be usable but, in spite of it, ADoc  will
  229.   attempt opening other files. 
  230.       If ADoc detects a doc file was changed after an index  was  created,
  231.   it will offer to update the index file. If you refuse, in spite of  it,  the
  232.   doc file will be opened but later ADoc will be able to detect errors if  the
  233.   file contents was changed. Note the date of index file creation is stored in
  234.   the index file itself.
  235.  
  236.       Once all files are opened, ADoc will display a requester;  this  one
  237.   indicates the term list of first open file. We'll describe how to  use  this
  238.   requester in the TheTermRequester section.
  239.  
  240. TheTermRequester
  241.    
  242.       A term can be pointed out by a mouse click on it. Now this  term  is
  243.   displayed in a different colour. If you click  a  second  time  on  it,  the
  244.   requester  is  switched  off  and  ADoc  displays  in  a  window  the   text
  245.   corresponding to that term. I'll  describe  how  to  use  these  windows  in
  246.   HowToManageWindows section.
  247.  
  248.       To choose a term, you can use the keyboard too.  If  you  press  any
  249.   key, the key letter will be added to the current "prefix"  (displayed  in  a
  250.   rectangle below the term list), and ADoc will display the list starting from
  251.   the first term that begins with this prefix. ADoc will complete this  prefix
  252.   as far as possible. If you press the <BACKSPACE>  key  (above  the  <RETURN>
  253.   key), the last prefix character will be deleted and the list will be updated
  254.   too. If you press the <RETURN> key, ADoc will display the text corresponding
  255.   to the first  term  that  begins  with  this  prefix.  Note  ADoc  will  not
  256.   differentiate upper and lower letters when the  current  file  is  indicated
  257.   after a NOCASE option.
  258.  
  259.       You can close  the  requester  without  selecting  a  term  both  by
  260.   pressing the <ESC> key and by clicking in the close  gadget  either.  If  no
  261.   window is open at this time, the program will abort.
  262.  
  263.       In fact, a term requester can allow you to select from  among  three
  264.   lists : the term list of the current file, the list of the opened files  (if
  265.   you have several opened files) and the list of terms that ADoc found  during
  266.   the previous search operation (provided a search was made  before,  see  the
  267.   Search section below).
  268.  
  269.       At the bottom, on the right corner of term  requester,  you  have  a
  270.   letter showing what a list is displayed : term list (T), file list (F), list
  271.   of found terms (S). 
  272.       To pass from a list to another, click the right mouse button holding
  273.   down one of the <SHIFT> keys, or press the <TAB> key. When the file list  is
  274.   displayed and you select a file in this list, ADoc returns automatically  to
  275.   the term list and displays the list of terms in that file.
  276.  
  277.       When no window is open, the term  requester  has  a  menu  with  the
  278.   following options :
  279.  
  280.       Open window     see TheSpecialMenu below
  281.       Search          see the Search section below
  282.       Iconify         see the TheProjectMenu below
  283.       Quit            this one allows to quit ADoc.
  284.    
  285. HowToManageWindows
  286.    
  287.       When you  select  a  term,  ADoc  opens  a  window  to  display  the
  288.   corresponding text. When a term is defined several times either in a  single
  289.   file or in several different files, all text lines will be joined in a queue
  290.   and displayed in one window. The window height is dependent on the amount of
  291.   lines ADoc must display. If there are too many lines, only  the  first  page
  292.   will be displayed and ADoc will add two arrow  gadgets  (on  the  right  top
  293.   corner) for scrolling this text.
  294.  
  295.       Of course, you can have several windows opened at the same time.  In
  296.   this case, the window which was activated  when  opening  a  new  window  is
  297.   called the "parent window" of the new one. 
  298.       By default, these windows have standard close,  dragging,  back  and
  299.   front, and sizing gadgets. If you change the size  of  a  window,  ADoc,  if
  300.   needed, will add or remove automatically the arrow gadgets. Each window  has
  301.   three menus too : there are "Project", "Tools"  and  "Special"  menus  (I'll
  302.   describe these  ones  in  TheProjectMenu,  TheToolsMenu  and  TheSpecialMenu
  303.   sections, below). Finally, note ADoc recognize the following keys :
  304.  
  305.       HELP            list keys and their meaning
  306.       ESC             close the current window
  307.       UP              previous page
  308.       DOWN            next page
  309.       BACKSPACE       open parent window
  310.       Shift-UP        previous term
  311.       Shift-DOWN      next term
  312.    
  313.       When you click on a word, this one will be displayed in a  different
  314.   colour. If you click again on the same word, ADoc will  automatically  start
  315.   searching for the corresponding term in  all  open  files.  If  this  fails,
  316.   screen flashes, otherwise a new window will be brought up.
  317.  
  318. TheProjectMenu
  319.    
  320.   Other term 
  321.       Bring up the term requester (see above TheTermRequester).
  322.  
  323.   Print 
  324.       Print the text contained in the active window. Note : the possible  ANSI
  325.       sequences will be correctly interpreted by the printer.
  326.  
  327.   Iconify 
  328.       Leave ADoc sleeping : if ADoc opened its own screen, this  one  will  be
  329.       closed, all the windows will be switched off and then ADoc will  open  a
  330.       small window on the left top corner in the Workbench's  screen.  If  you
  331.       click on the close gadget of this window, ADoc will ask you  to  confirm
  332.       it before you abort. For "awaking" ADoc, activate this window and  click
  333.       the right mouse button. 
  334.       Normally, ADoc keeps in memory all the text lines to be  able  switching
  335.       on quickly all the windows when it would be awaken. The one drawback  is
  336.       that all possible memory will not be freed, so, when  you  ask  ADoc  to
  337.       iconify itself, ADoc will ask you if you want to close all  windows.  If
  338.       you say yes, the memory will be completely freed and when ADoc  will  be
  339.       awaken, it will bring up the term requester.
  340.  
  341.   Help... 
  342.       Displays some useful keys and their meaning (same as pressing  the  HELP
  343.       key)
  344.  
  345.   About... 
  346.       Display some infos about ADoc. Click inside this window or press  a  key
  347.       to continue.
  348.  
  349.   Quit 
  350.       Allow to quit ADoc (asks you to confirm it). 
  351.    
  352.    
  353. TheToolsMenu
  354.    
  355.   Front Screen 
  356.       Allow to use ADoc in a already open screen (for ex.  that  one  of  your
  357.       text editor). Only you need to move the screen -where you want switch on
  358.       ADoc- in front of any screen, drag it down to unfold  the  screen  where
  359.       ADoc is. Now, select this item : ADoc will close all  the  open  windows
  360.       and reopen these ones in the foreground screen.
  361.  
  362.        
  363.  
  364.                       CAUTION:
  365.  
  366.       Of course, you'll have a "Guru"  if  the  screen  where  you
  367.       placed ADoc is closed before you  quitted  ADoc  (or  placed
  368.       this one on another screen). 
  369.        
  370.       Note this command will not work if you did not specify a font (see above
  371.       the RunningADocfromCLI section)  and  the  font  of  your  front  screen
  372.       doesn't suit.
  373.  
  374.   Close all 
  375.       Allow to close all the windows at the same time. After it asked  you  to
  376.       confirm, ADoc will close every window and display the term requester.
  377.  
  378.   Find 
  379.       Allow to start searching (see the Search section below).
  380.  
  381.   Information 
  382.       Display the account of avalaible files and terms, just as the account of
  383.       opened windows and displayed  lines.  To  continue  click  on  the  "Ok"
  384.       gadget. 
  385.    
  386. TheSpecialMenu
  387.    
  388.   Open file 
  389.       Allow to open an additional doc file. A file requester is brought up  so
  390.       that you can specify what a file must be opened.
  391.  
  392.   Close file 
  393.       Allow to close the current file (i.e. the file where is defined the term
  394.       displayed in the active window). After it asked  you  to  confirm,  ADoc
  395.       will close all the windows relied to this file and will close  it.  Note
  396.       this command will work only if at least two files are opened.
  397.  
  398.   One window 
  399.       If this option is selected, ADoc will open only one window at a time. 
  400.    
  401. Search
  402.    
  403.       In the text lines, ADoc has the capability  to  search  up  to  four
  404.   strings simultaneously and display then the list of the relied  terms.  When
  405.   you select the "Search" item in the "Tools" menu, a window  is  switched  on
  406.   with four string gadgets. You have also an "CANCEL" gadget,  to  abort  this
  407.   operation, a "OK" gadget, to start your search, and an "Options" menu :
  408.  
  409.   low = UPP 
  410.       Ask ADoc not to differentiate upper and lower letters when searching.
  411.  
  412.   All strings 
  413.       Normally, ADoc is looking for all terms containing one  of  the  strings
  414.       you introduced. On the contrary, this item  allows  you  to  search  for
  415.       terms contaning ALL strings you specified.
  416.  
  417.   All files 
  418.       Ask ADoc to search in all open files, not only in the current file. 
  419.    
  420.       When you start your search, a requester appears. The  "Stop"  gadget
  421.   allows you to break this search. As soon as the search finished, screen will
  422.   flash if no term was found. Otherwise, the term requester will  be  switched
  423.   on and will display a list of found terms. That list is sorted, and kept  in
  424.   memory until you stard a new search.
  425.  
  426. AdvancedConcepts
  427.    
  428.       Since v4.00, you can associate  an  IFF  picture  to  a  term.  This
  429.   picture will be loaded at the same time as the text, and will  be  displayed
  430.   in the same window. In order to use this fonctionnality, you  just  have  to
  431.   add a special line in the term's text :
  432.  
  433. .        adoc@<position> <picture's name>
  434.    
  435.  
  436.   where <position> is "top", "bottom", "left" or "right". The picture will  be
  437.   displayed in the given border. For example, if you enter :
  438.  
  439. .        adoc@right doc:exec/schema1.pic
  440.    
  441.  
  442.   the picture "doc:exec/shema1.pic" will be displayed next to the right border
  443.   of the window. 
  444.       ADoc is able to load  pictures  in  a  different  screenmode  and/or
  445.   colors numbers than  the  current  screen.  The  screen's  palette  will  be
  446.   modified with the picture's palette.
  447.  
  448.       The release 1.40 of ADoc introduced the concept of aliases, that  is
  449.   a manner to associate a same text to several terms, without having to repeat
  450.   the text several times. An alias definition follow the syntax:
  451.  
  452.       name1 alias name2
  453.  
  454.   The first character of "name2" must, as  for  any  term  definition,  be  at
  455.   column one. There must be at least one space or tabulation between the three
  456.   words. The word "alias" must be in lower case characters. The effect of such
  457.   a definition is that when the user will ask to get the  "name1"  term,  ADoc
  458.   will automatically display the "name2" term instead. Aliases appear  in  the
  459.   term requester, and in the search function. You must be aware that there  is
  460.   *NO* recursivity check between aliases ! 
  461.       An application of aliases could be the documentation of  a  function
  462.   library : often  you  will  define  several  functions  together.  With  the
  463.   aliases, you can allow  access  to  the  definition  by  the  name  of  each
  464.   function, but the text is defined only once.
  465.  
  466.       ADoc can combine automatically several doc  files.  For  that,  it's
  467.   enough to specify the name of file(s) to be combined, in the first  line  of
  468.   file which you want associate them with. If this line  is  empty  or  begins
  469.   with a space or tab, its contents will be ignored. File  names  have  to  be
  470.   separated by spaces or commas. You can indicate a directory  name;  in  this
  471.   case all the files of that directory will  be  opened  (except  ".info"  and
  472.   ".index" files).
  473.  
  474.       To extend the character set you can use in a term,  it's  enough  to
  475.   specify additional characters in the second line of your doc file.  If  this
  476.   line is empty or begins with a space or tab, its contents will  be  ignored.
  477.   Otherwise, all characters of that line (up to first  space,  tab,  slash  or
  478.   form feed) will be added to the default character set. Note  this  character
  479.   set extension only will concern that file.
  480.  
  481.       ADoc  has  the  possibility  to   load   directly   any   compressed
  482.   "PowerPacker" file, providing you have set up "powerpacker.library" in  your
  483.   LIBS: directory. It's not necessary (but recommended) to  create  the  index
  484.   file before you compress a doc file. ADoc will refuse to load  an  encrypted
  485.   file. 
  486.       After ADoc has decompressed  a  file,  this  will  be  copied  in  a
  487.   temporary file in the "T:" directory. So, using compressed files  can  arise
  488.   some memory problems, especially if you put T: directory in your RAM:  disk.
  489.   This temporary file will be deleted when you close it.
  490.  
  491. TheAREXXMode
  492.    
  493.       ADoc always  opens  a  compatible  AREXX  port,  named  "ADoc_rexx".
  494.   Messages on this port are waited for at the same time as Intuition  messages
  495.   on text windows, and can take the following forms :
  496.  
  497.       QUIT            quit ADoc 
  498.       REQUEST         bring up the term requester 
  499.       FSCREEN         ADoc moves all it's windows to the front screen 
  500.       TOFRONT         put ADoc screen in front of all screens 
  501.       TOBACK          put ADoc screen in back of all screens 
  502.       FIND term       start searching for a given term,  and  display  the
  503.               corresponding text if it is found 
  504.       OPEN file       allows to open a other file while running ADoc 
  505.    
  506.       The return code (RC variable) will be set to  zero,  except  in  the
  507.   following cases: bad request (return code  20),  "OPEN  term"  request  with
  508.   "term" not found (return code 5), "request"  request  and  no  term  choosen
  509.   (return code 5). Here is an example asking for help for the term "alias" :
  510.  
  511.       /* Ask for help for "alias" */
  512.       ADDRESS "ADoc_rexx"
  513.       "FIND alias"
  514.       IF RC = 5 THEN SAY "not found !"
  515.    
  516.       Note quotes surrounding commands ! 
  517.       If you launch ADoc with the option AREXX, the program operation will
  518.   be quite different : once ADoc opened the doc file(s), it will not switch on
  519.   the term requester but will display a message "Waiting for an AREXX message"
  520.   and will wait for messages on the AREXX port (or for CTRL-C  to  abort  it).
  521.   Moreover, when the last window will be closed,  the  program  will  not  end
  522.   itself but go back waiting for AREXX messages.
  523.  
  524. AutoDoc_files_support
  525.    
  526.       ADoc can recognize and use the AutoDocs  files  from  Commodore.  In
  527.   most cases, no change are needed, but it  is  recommended  to  verify  their
  528.   format: you must have at least two empty lines at the beginning, followed by
  529.   the table of contents and every term must start at column 1. 
  530.       In some cases, you won't find empty  lines  at  the  beginning,  and
  531.   terms will begin at column 2 and will be preceded by a "form feed" character
  532.   (i.e. CTRL-L). The program "AutoConvert", distributed with ADoc, will  allow
  533.   you to convert those files into a correct format (Note :  this  program  can
  534.   only be used from CLI). In all other cases, you'll  have  to  convert  these
  535.   files by yourself.
  536.  
  537. AmigaGuide_files_support
  538.    
  539.       ADoc can now recognize AmigaGuide files, build  their  index  files,
  540.   and display their contents. The different syntaxes of the "@node"  directive
  541.   are handled :
  542.  
  543.       @node name
  544.       @node "title"
  545.       @node name "title"
  546.    
  547.   In the latter case, an "name" alias is automatically defined for the "title"
  548.   term. The "@title" directive is also handled. 
  549.       As ADoc doesn't handle spaces in term names, they  are  replaced  by
  550.   underscore characters. Links within text are displayed in boldface. As names
  551.   are truncated to 32 characters, some links may fail. Note that ADoc  handles
  552.   inter-files links, like:
  553.  
  554.              @{"foo" link help:general/bar}
  555.    
  556.   To  allow  such  links,  delimiters  are  automatically  set  to  ":/."  for
  557.   AmigaGuide files.
  558.  
  559. TheADocMessages
  560.    
  561.       When an error occurs,  ADoc  displays  in  a  small  window  a  name
  562.   (usually, a filename) and an error code. This  one  is  either  an  AmigaDOS
  563.   error code or an internal code. In the first case, see your AmigaDOS  Manual
  564.   (or use the command "Fault") to have more information on this error code. 
  565.       There are the internal error codes :
  566.  
  567.       -1      empty file
  568.       -2      read error
  569.       -3      file is wrong (bad format, etc...)
  570.       -4      file is compressed and there is no "powerpacker.library"
  571.       -5      a problem occured while decrunching
  572.       -6      bad picture specification
  573.       -7      error while loading picture
  574.    
  575.    
  576.